---------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/clotairemit.edu/Dropbox (MIT)/J-PAL Raskin Transition/10_Analysis&Results/Agent Experiment Analysis/03_
> Logs/20240426_vill_podes.log
  log type:  text
 opened on:  26 Apr 2024, 04:54:45

. 
. clear

. set more off

. 
. set seed 11022022

. 
. global finance_data "$cleaned/finance"

. 
. qui cd "$output/ster_files/20210226_finance"

. 
. u "$cleaned/podes_2019_oursample.dta", clear

. 
. local smallbuis_alltypes "typej_n typege_n typef_n"

. 
. * locals for regressions
. local 0    = "agents_mar18 == 0"

. local 2    = "agents_mar18 < 2 & agents_mar18 >= 0"

. local full = "1==1"

. 
. gen KABU = Kode_Provinsi + Kode_Kabupaten

. 
. gen namakabupaten = Kabupaten

. 
. foreach var of varlist  `smallbuis_alltypes'  {
  2. 
.   * get baseline control if it exists
.   local mar18 = ""
  3.   cap confirm variable `var'_podes18
  4.   if _rc == 0 {
  5.     local mar18 = "`var'_podes18"
  6.   }
  7. 
. 
.     foreach sample in 0 full { //2
  8. 
.       di "Var: `var' Sample: `sample'"
  9. 
.       * DL regression
. 
. 
.           eststo `var'`sample': pdslasso `var' treated (`mar18' *podes i.finalstratum) ///
>           if ``sample'', cluster(KABU) aset(i.finalstratum `mar18')
 10.           summ `var' if e(sample) == 1 & treated == 0
 11.           estadd scalar control_mean = r(mean)
 12.           estadd scalar obs = e(N)
 13.           estadd local stratum = "Yes"
 14.           estadd local lasso = "Yes"
 15. 
. 
.       * RI p-val
.       randinference treated using "$importable/resample1000.dta", ///
>         reg(reg `var' treated `e(xselected)' if ``sample'', vce(cluster KABU)) ///
>         reps($RI) mergevar(namakabupaten) mergetype(m:1)
 16.       matrix define pvalues = (`r(RIpval)')
 17.       matrix colnames pvalues = treated
 18.       est restore `var'`sample'
 19.       estadd matrix pvalues
 20.     }
 21.   }
Var: typej_n Sample: 0
1.  (PDS/CHS) Selecting HD controls for dep var typej_n...
Selected: typej_n_podes18 himbara_bank_podes atm_podes internet_cell_4G_podes internet_cell_25G_podes
          desa_head_edu18_podes no_bankaccess_podes 3.finalstratum
Also inc: 1b.finalstratum 2.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum
          9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum 1000.finalstratum
2.  (PDS/CHS) Selecting HD controls for exog regressor treated...
Selected: 
Also inc: typej_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
          7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum
          14.finalstratum 1000.finalstratum


Estimation results:

Specification:
Regularization method:                 lasso
Penalty loadings:                      cluster-lasso
Number of observations:                14,452
Number of clusters:                       105
Exogenous (1):                         treated
High-dim controls (58):                typej_n_podes18 himbara_bank_podes dist_himbara_bank_podes private_bank_podes
                                       dist_private_bank_podes atm_podes distance_atm_podes agent_podes
                                       distance_agent_podes rice_agri_podes non_rice_agri_podes non_agri_podes
                                       miss_agri_podes asphalt_road_transport_podes gravel_road_transport_podes
                                       land_transport_podes water_transport_podes other_transport_podes
                                       miss_transport_podes road_passable_always_podes road_passable_usually_podes
                                       road_passable_dry_season_podes road_passable_never_podes road_passable_missing_podes
                                       distance_camat_podes distance_camat_miss_podes time_to_camat_podes
                                       time_to_camat_miss_podes fees_camat_podes fees_camat_miss_podes
                                       vstrong_cell_signal_podes strong_cell_signal_podes weak_cell_signal_podes
                                       no_cell_signal_podes miss_cell_signal_podes internet_cell_4G_podes
                                       internet_cell_3G_podes internet_cell_25G_podes internet_cell_none_podes
                                       internet_cell_miss_podes desa_head_edu18_podes desa_head_edu18_missing_podes
                                       no_bankaccess_podes 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Selected controls (22):                typej_n_podes18 himbara_bank_podes atm_podes internet_cell_4G_podes
                                       internet_cell_25G_podes desa_head_edu18_podes no_bankaccess_podes 1b.finalstratum
                                       2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
                                       7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum
                                       12.finalstratum 13.finalstratum 14.finalstratum 1000.finalstratum
  of which, amelioration set (16):     typej_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Unpenalized controls (1):              _cons

Structural equation:

OLS using CHS lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
     typej_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |    4.71637   2.352762     2.00   0.045     .1050407    9.327699
------------------------------------------------------------------------------

OLS using CHS post-lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
     typej_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |   2.959038   1.077206     2.75   0.006     .8477526    5.070323
------------------------------------------------------------------------------

OLS with PDS-selected variables and full regressor set
                                            (Std. err. adjusted for 105 clusters in KABU)
-----------------------------------------------------------------------------------------
                        |               Robust
                typej_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
------------------------+----------------------------------------------------------------
                treated |    2.97215   1.065128     2.79   0.005      .884537    5.059764
        typej_n_podes18 |   .3216367   .0599195     5.37   0.000     .2041966    .4390767
     himbara_bank_podes |   8.254466   2.751336     3.00   0.003     2.861948    13.64699
              atm_podes |    6.74272   1.946394     3.46   0.001     2.927857    10.55758
 internet_cell_4G_podes |   2.101314   .9265349     2.27   0.023     .2853388    3.917289
internet_cell_25G_podes |  -1.487024   .4928189    -3.02   0.003    -2.452932   -.5211171
  desa_head_edu18_podes |   .5594286    .179078     3.12   0.002     .2084421     .910415
    no_bankaccess_podes |  -4.520888   .7012814    -6.45   0.000    -5.895374   -3.146402
                        |
           finalstratum |
                     2  |   18.30848   3.994197     4.58   0.000        10.48    26.13696
                     3  |   22.35317   5.402233     4.14   0.000     11.76499    32.94135
                     4  |   13.85062   2.103187     6.59   0.000      9.72845    17.97279
                     5  |   5.960987   1.274904     4.68   0.000     3.462222    8.459752
                     6  |   7.322094   1.708168     4.29   0.000     3.974145    10.67004
                     7  |   17.82643   3.369344     5.29   0.000     11.22264    24.43022
                     8  |   14.57272   3.304511     4.41   0.000     8.095995    21.04944
                     9  |   6.568655   1.074563     6.11   0.000      4.46255     8.67476
                    10  |   1.929093   .9125929     2.11   0.035      .140444    3.717742
                    11  |    16.0719     1.7733     9.06   0.000      12.5963     19.5475
                    12  |   8.999283   1.129702     7.97   0.000     6.785107    11.21346
                    13  |   7.435599   1.652238     4.50   0.000     4.197271    10.67393
                    14  |   18.12499   2.599255     6.97   0.000     13.03054    23.21943
                  1000  |   5.646827   1.436577     3.93   0.000     2.831188    8.462465
                        |
                  _cons |   3.023945   1.117921     2.70   0.007     .8328593     5.21503
-----------------------------------------------------------------------------------------
Standard errors and test statistics valid for the following variables only:
    treated
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
     typej_n |     10,441    16.99406    28.17924          0        991

added scalar:
       e(control_mean) =  16.994062

added scalar:
                e(obs) =  14452

added macro:
            e(stratum) : "Yes"

added macro:
              e(lasso) : "Yes"
Original regression:

Linear regression                               Number of obs     =     14,452
                                                F(22, 104)        =      73.77
                                                Prob > F          =     0.0000
                                                R-squared         =     0.3403
                                                Root MSE          =     24.365

                                            (Std. err. adjusted for 105 clusters in KABU)
-----------------------------------------------------------------------------------------
                        |               Robust
                typej_n | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
------------------------+----------------------------------------------------------------
                treated |    2.97215   1.071053     2.77   0.007     .8482129    5.096088
        typej_n_podes18 |   .3216367   .0602527     5.34   0.000     .2021532    .4411201
     himbara_bank_podes |   8.254466   2.766638     2.98   0.004     2.768119    13.74081
              atm_podes |    6.74272    1.95722     3.45   0.001     2.861479    10.62396
 internet_cell_4G_podes |   2.101314   .9316882     2.26   0.026     .2537412    3.948886
internet_cell_25G_podes |  -1.487024   .4955599    -3.00   0.003    -2.469738   -.5043105
  desa_head_edu18_podes |   .5594286    .180074     3.11   0.002      .202335    .9165221
    no_bankaccess_podes |  -4.520888   .7051819    -6.41   0.000     -5.91929   -3.122486
                        |
           finalstratum |
                     2  |   18.30848   4.016413     4.56   0.000     10.34378    26.27318
                     3  |   22.35317    5.43228     4.11   0.000     11.58076    33.12558
                     4  |   13.85062   2.114885     6.55   0.000     9.656725    18.04452
                     5  |   5.960987   1.281994     4.65   0.000     3.418744     8.50323
                     6  |   7.322094   1.717669     4.26   0.000     3.915892     10.7283
                     7  |   17.82643   3.388084     5.26   0.000     11.10773    24.54513
                     8  |   14.57272    3.32289     4.39   0.000     7.983301    21.16213
                     9  |   6.568655    1.08054     6.08   0.000     4.425904    8.711406
                    10  |   1.929093   .9176686     2.10   0.038     .1093219    3.748864
                    11  |    16.0719   1.783162     9.01   0.000     12.53582    19.60798
                    12  |   8.999283   1.135985     7.92   0.000     6.746581    11.25198
                    13  |   7.435599   1.661428     4.48   0.000     4.140925    10.73027
                    14  |   18.12499   2.613712     6.93   0.000      12.9419    23.30808
                  1000  |   5.646827   1.444567     3.91   0.000     2.782197    8.511457
                        |
                  _cons |   3.023945   1.124139     2.69   0.008     .7947348    5.253154
-----------------------------------------------------------------------------------------
Beginning 1000 regressions...
Completed regression 10
Completed regression 25
Completed regression 50
Completed regression 100
Completed regression 200
Completed regression 300
Completed regression 400
Completed regression 500
Completed regression 600
Completed regression 700
Completed regression 800
Completed regression 900
Completed regression 1000
RI p-val = .021
(results typej_n0 are active now)

added matrix:
            e(pvalues) :  1 x 1
Var: typej_n Sample: full
1.  (PDS/CHS) Selecting HD controls for dep var typej_n...
Selected: typej_n_podes18 himbara_bank_podes private_bank_podes dist_private_bank_podes atm_podes agent_podes
          non_agri_podes miss_transport_podes internet_cell_4G_podes internet_cell_25G_podes desa_head_edu18_podes
          no_bankaccess_podes
Also inc: 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum 7.finalstratum
          8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
          1000.finalstratum
2.  (PDS/CHS) Selecting HD controls for exog regressor treated...
Selected: no_bankaccess_podes 1000.finalstratum
Also inc: typej_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
          7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum
          14.finalstratum


Estimation results:

Specification:
Regularization method:                 lasso
Penalty loadings:                      cluster-lasso
Number of observations:                20,535
Number of clusters:                       105
Exogenous (1):                         treated
High-dim controls (58):                typej_n_podes18 himbara_bank_podes dist_himbara_bank_podes private_bank_podes
                                       dist_private_bank_podes atm_podes distance_atm_podes agent_podes
                                       distance_agent_podes rice_agri_podes non_rice_agri_podes non_agri_podes
                                       miss_agri_podes asphalt_road_transport_podes gravel_road_transport_podes
                                       land_transport_podes water_transport_podes other_transport_podes
                                       miss_transport_podes road_passable_always_podes road_passable_usually_podes
                                       road_passable_dry_season_podes road_passable_never_podes road_passable_missing_podes
                                       distance_camat_podes distance_camat_miss_podes time_to_camat_podes
                                       time_to_camat_miss_podes fees_camat_podes fees_camat_miss_podes
                                       vstrong_cell_signal_podes strong_cell_signal_podes weak_cell_signal_podes
                                       no_cell_signal_podes miss_cell_signal_podes internet_cell_4G_podes
                                       internet_cell_3G_podes internet_cell_25G_podes internet_cell_none_podes
                                       internet_cell_miss_podes desa_head_edu18_podes desa_head_edu18_missing_podes
                                       no_bankaccess_podes 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Selected controls (27):                typej_n_podes18 himbara_bank_podes private_bank_podes dist_private_bank_podes
                                       atm_podes agent_podes non_agri_podes miss_transport_podes internet_cell_4G_podes
                                       internet_cell_25G_podes desa_head_edu18_podes no_bankaccess_podes 1b.finalstratum
                                       2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
                                       7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum
                                       12.finalstratum 13.finalstratum 14.finalstratum 1000.finalstratum
  of which, amelioration set (16):     typej_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Unpenalized controls (1):              _cons

Structural equation:

OLS using CHS lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
     typej_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |   3.720496   2.327871     1.60   0.110    -.8420477     8.28304
------------------------------------------------------------------------------

OLS using CHS post-lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
     typej_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |    2.00225   1.184518     1.69   0.091    -.3193632    4.323862
------------------------------------------------------------------------------

OLS with PDS-selected variables and full regressor set
                                            (Std. err. adjusted for 105 clusters in KABU)
-----------------------------------------------------------------------------------------
                        |               Robust
                typej_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
------------------------+----------------------------------------------------------------
                treated |   2.007162   1.174562     1.71   0.087    -.2949375    4.309262
        typej_n_podes18 |   .4120338    .048323     8.53   0.000     .3173225    .5067451
     himbara_bank_podes |   10.78286   2.043098     5.28   0.000     6.778462    14.78726
     private_bank_podes |   10.59838   5.118908     2.07   0.038     .5654996    20.63125
dist_private_bank_podes |  -.0060972   .0111971    -0.54   0.586    -.0280431    .0158487
              atm_podes |   7.784641    1.55291     5.01   0.000     4.740995    10.82829
            agent_podes |   7.604679   2.353203     3.23   0.001     2.992486    12.21687
         non_agri_podes |   4.034352   1.521987     2.65   0.008     1.051312    7.017392
   miss_transport_podes |          0  (omitted)
 internet_cell_4G_podes |    1.50607   .7446813     2.02   0.043     .0465211    2.965618
internet_cell_25G_podes |  -1.142186   .5358453    -2.13   0.033    -2.192424   -.0919484
  desa_head_edu18_podes |   .7122953   .1881761     3.79   0.000     .3434769    1.081114
    no_bankaccess_podes |   2.472402    2.38498     1.04   0.300    -2.202074    7.146877
                        |
           finalstratum |
                     2  |   25.07979   7.356858     3.41   0.001     10.66062    39.49897
                     3  |   17.14275   4.786503     3.58   0.000     7.761372    26.52412
                     4  |   12.55896   2.266473     5.54   0.000     8.116753    17.00116
                     5  |   5.105144   1.020134     5.00   0.000     3.105718    7.104571
                     6  |   6.679262   1.419266     4.71   0.000     3.897552    9.460972
                     7  |   18.79804   3.614806     5.20   0.000     11.71315    25.88293
                     8  |   15.92221   2.906576     5.48   0.000     10.22543      21.619
                     9  |   6.402616   1.316956     4.86   0.000     3.821429    8.983802
                    10  |   .9778599   1.074544     0.91   0.363    -1.128207    3.083927
                    11  |   14.88153   2.047871     7.27   0.000     10.86778    18.89528
                    12  |   8.006849   1.486317     5.39   0.000     5.093721    10.91998
                    13  |   7.032479   1.526594     4.61   0.000     4.040411    10.02455
                    14  |   21.10112   2.651731     7.96   0.000     15.90382    26.29842
                  1000  |   7.358975   1.872064     3.93   0.000     3.689798    11.02815
                        |
                  _cons |  -4.976497   2.765454    -1.80   0.072    -10.39669    .4436933
-----------------------------------------------------------------------------------------
Standard errors and test statistics valid for the following variables only:
    treated
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
     typej_n |     14,169    21.72525    36.76896          0        991

added scalar:
       e(control_mean) =  21.725245

added scalar:
                e(obs) =  20535

added macro:
            e(stratum) : "Yes"

added macro:
              e(lasso) : "Yes"
Original regression:
note: miss_transport_podes omitted because of collinearity.

Linear regression                               Number of obs     =     20,535
                                                F(26, 104)        =      72.15
                                                Prob > F          =     0.0000
                                                R-squared         =     0.4138
                                                Root MSE          =     29.842

                                            (Std. err. adjusted for 105 clusters in KABU)
-----------------------------------------------------------------------------------------
                        |               Robust
                typej_n | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
------------------------+----------------------------------------------------------------
                treated |   2.007162   1.180944     1.70   0.092    -.3346932    4.349017
        typej_n_podes18 |   .4120338   .0485855     8.48   0.000     .3156869    .5083807
     himbara_bank_podes |   10.78286   2.054198     5.25   0.000     6.709309    14.85641
     private_bank_podes |   10.59838   5.146719     2.06   0.042     .3922387    20.80451
dist_private_bank_podes |  -.0060972   .0112579    -0.54   0.589    -.0284221    .0162277
              atm_podes |   7.784641   1.561346     4.99   0.000     4.688433    10.88085
            agent_podes |   7.604679   2.365988     3.21   0.002     2.912836    12.29652
         non_agri_podes |   4.034352   1.530256     2.64   0.010     .9997974    7.068907
   miss_transport_podes |          0  (omitted)
 internet_cell_4G_podes |    1.50607   .7487271     2.01   0.047     .0213157    2.990824
internet_cell_25G_podes |  -1.142186   .5387565    -2.12   0.036     -2.21056   -.0738115
  desa_head_edu18_podes |   .7122953   .1891985     3.76   0.000     .3371076    1.087483
    no_bankaccess_podes |   2.472402   2.397938     1.03   0.305    -2.282799    7.227602
                        |
           finalstratum |
                     2  |   25.07979   7.396828     3.39   0.001     10.41161    39.74798
                     3  |   17.14275   4.812508     3.56   0.001     7.599362    26.68613
                     4  |   12.55896   2.278786     5.51   0.000     8.040039    17.07788
                     5  |   5.105144   1.025676     4.98   0.000      3.07119    7.139099
                     6  |   6.679262   1.426977     4.68   0.000     3.849513     9.50901
                     7  |   18.79804   3.634445     5.17   0.000      11.5908    26.00528
                     8  |   15.92221   2.922368     5.45   0.000     10.12705    21.71738
                     9  |   6.402616   1.324111     4.84   0.000     3.776853    9.028378
                    10  |   .9778599   1.080382     0.91   0.368    -1.164578    3.120298
                    11  |   14.88153   2.058997     7.23   0.000     10.79846     18.9646
                    12  |   8.006849   1.494392     5.36   0.000     5.043413    10.97028
                    13  |   7.032479   1.534888     4.58   0.000      3.98874    10.07622
                    14  |   21.10112   2.666137     7.91   0.000     15.81407    26.38817
                  1000  |   7.358975   1.882235     3.91   0.000     3.626433    11.09152
                        |
                  _cons |  -4.976497   2.780479    -1.79   0.076    -10.49029    .5372963
-----------------------------------------------------------------------------------------
Beginning 1000 regressions...
Completed regression 10
Completed regression 25
Completed regression 50
Completed regression 100
Completed regression 200
Completed regression 300
Completed regression 400
Completed regression 500
Completed regression 600
Completed regression 700
Completed regression 800
Completed regression 900
Completed regression 1000
RI p-val = .147
(results typej_nfull are active now)

added matrix:
            e(pvalues) :  1 x 1
Var: typege_n Sample: 0
1.  (PDS/CHS) Selecting HD controls for dep var typege_n...
Selected: typege_n_podes18 himbara_bank_podes dist_private_bank_podes atm_podes distance_atm_podes non_agri_podes
          miss_transport_podes road_passable_usually_podes weak_cell_signal_podes internet_cell_4G_podes
          internet_cell_25G_podes internet_cell_none_podes no_bankaccess_podes
Also inc: 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum 7.finalstratum
          8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
          1000.finalstratum
2.  (PDS/CHS) Selecting HD controls for exog regressor treated...
Selected: 
Also inc: typege_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
          7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum
          14.finalstratum 1000.finalstratum


Estimation results:

Specification:
Regularization method:                 lasso
Penalty loadings:                      cluster-lasso
Number of observations:                14,452
Number of clusters:                       105
Exogenous (1):                         treated
High-dim controls (58):                typege_n_podes18 himbara_bank_podes dist_himbara_bank_podes private_bank_podes
                                       dist_private_bank_podes atm_podes distance_atm_podes agent_podes
                                       distance_agent_podes rice_agri_podes non_rice_agri_podes non_agri_podes
                                       miss_agri_podes asphalt_road_transport_podes gravel_road_transport_podes
                                       land_transport_podes water_transport_podes other_transport_podes
                                       miss_transport_podes road_passable_always_podes road_passable_usually_podes
                                       road_passable_dry_season_podes road_passable_never_podes road_passable_missing_podes
                                       distance_camat_podes distance_camat_miss_podes time_to_camat_podes
                                       time_to_camat_miss_podes fees_camat_podes fees_camat_miss_podes
                                       vstrong_cell_signal_podes strong_cell_signal_podes weak_cell_signal_podes
                                       no_cell_signal_podes miss_cell_signal_podes internet_cell_4G_podes
                                       internet_cell_3G_podes internet_cell_25G_podes internet_cell_none_podes
                                       internet_cell_miss_podes desa_head_edu18_podes desa_head_edu18_missing_podes
                                       no_bankaccess_podes 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Selected controls (28):                typege_n_podes18 himbara_bank_podes dist_private_bank_podes atm_podes
                                       distance_atm_podes non_agri_podes miss_transport_podes road_passable_usually_podes
                                       weak_cell_signal_podes internet_cell_4G_podes internet_cell_25G_podes
                                       internet_cell_none_podes no_bankaccess_podes 1b.finalstratum 2.finalstratum
                                       3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum 7.finalstratum
                                       8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum
                                       13.finalstratum 14.finalstratum 1000.finalstratum
  of which, amelioration set (16):     typege_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Unpenalized controls (1):              _cons

Structural equation:

OLS using CHS lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
    typege_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |   .2211846   .6900867     0.32   0.749     -1.13136     1.57373
------------------------------------------------------------------------------

OLS using CHS post-lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
    typege_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |    .219242   .5256647     0.42   0.677    -.8110418    1.249526
------------------------------------------------------------------------------

OLS with PDS-selected variables and full regressor set
                                                (Std. err. adjusted for 105 clusters in KABU)
---------------------------------------------------------------------------------------------
                            |               Robust
                   typege_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
                    treated |   .2206214   .5306707     0.42   0.678    -.8194741    1.260717
           typege_n_podes18 |   .4538944   .0682004     6.66   0.000     .3202242    .5875647
         himbara_bank_podes |     3.5707   1.176923     3.03   0.002     1.263973    5.877426
    dist_private_bank_podes |  -.0086032   .0054255    -1.59   0.113     -.019237    .0020307
                  atm_podes |   4.583823   .7678604     5.97   0.000     3.078845    6.088802
         distance_atm_podes |   -.012394   .0067743    -1.83   0.067    -.0256713    .0008834
             non_agri_podes |   2.340208   .8101127     2.89   0.004     .7524167       3.928
       miss_transport_podes |          0  (omitted)
road_passable_usually_podes |  -.6702157   .2204656    -3.04   0.002     -1.10232    -.238111
     weak_cell_signal_podes |  -.5021247   .2000431    -2.51   0.012     -.894202   -.1100475
     internet_cell_4G_podes |   .4326844   .2435664     1.78   0.076     -.044697    .9100659
    internet_cell_25G_podes |  -.3084493   .1792058    -1.72   0.085    -.6596863    .0427877
   internet_cell_none_podes |  -.6509537   .2425346    -2.68   0.007    -1.126313   -.1755946
        no_bankaccess_podes |  -1.180127   .2898947    -4.07   0.000    -1.748311   -.6119442
                            |
               finalstratum |
                         2  |   2.761728   2.305349     1.20   0.231    -1.756673     7.28013
                         3  |   1.472869   .4698966     3.13   0.002     .5518888     2.39385
                         4  |   2.650912   .8096251     3.27   0.001     1.064076    4.237748
                         5  |   2.812214   1.634182     1.72   0.085    -.3907236    6.015152
                         6  |   1.179134    1.08451     1.09   0.277    -.9464667    3.304735
                         7  |  -1.175193   .3579993    -3.28   0.001    -1.876858   -.4735271
                         8  |  -.9662447   .4005743    -2.41   0.016    -1.751356   -.1811336
                         9  |   -.083939   .4380321    -0.19   0.848     -.942466    .7745881
                        10  |   5.001116   .7225532     6.92   0.000     3.584938    6.417294
                        11  |   3.388837   2.047942     1.65   0.098    -.6250561     7.40273
                        12  |   .0675559   .4318034     0.16   0.876    -.7787632     .913875
                        13  |   -.179856   .7723093    -0.23   0.816    -1.693554    1.333842
                        14  |    2.59131   .6058495     4.28   0.000     1.403867    3.778753
                      1000  |   .4990042   .9855821     0.51   0.613    -1.432701     2.43071
                            |
                      _cons |   3.467134   .4117948     8.42   0.000     2.660031    4.274237
---------------------------------------------------------------------------------------------
Standard errors and test statistics valid for the following variables only:
    treated
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
    typege_n |     10,441    6.283785    11.81826          0        314

added scalar:
       e(control_mean) =  6.2837851

added scalar:
                e(obs) =  14452

added macro:
            e(stratum) : "Yes"

added macro:
              e(lasso) : "Yes"
Original regression:
note: miss_transport_podes omitted because of collinearity.

Linear regression                               Number of obs     =     14,452
                                                F(27, 104)        =      45.96
                                                Prob > F          =     0.0000
                                                R-squared         =     0.3932
                                                Root MSE          =     9.1641

                                                (Std. err. adjusted for 105 clusters in KABU)
---------------------------------------------------------------------------------------------
                            |               Robust
                   typege_n | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
                    treated |   .2206214   .5337147     0.41   0.680     -.837755    1.278998
           typege_n_podes18 |   .4538944   .0685916     6.62   0.000     .3178748    .5899141
         himbara_bank_podes |     3.5707   1.183674     3.02   0.003      1.22343    5.917969
    dist_private_bank_podes |  -.0086032   .0054567    -1.58   0.118    -.0194239    .0022176
                  atm_podes |   4.583823   .7722649     5.94   0.000     3.052393    6.115254
         distance_atm_podes |   -.012394   .0068131    -1.82   0.072    -.0259047    .0011167
             non_agri_podes |   2.340208   .8147597     2.87   0.005     .7245094    3.955907
       miss_transport_podes |          0  (omitted)
road_passable_usually_podes |  -.6702157   .2217303    -3.02   0.003    -1.109915   -.2305163
     weak_cell_signal_podes |  -.5021247   .2011906    -2.50   0.014    -.9010932   -.1031563
     internet_cell_4G_podes |   .4326844   .2449636     1.77   0.080    -.0530875    .9184564
    internet_cell_25G_podes |  -.3084493   .1802338    -1.71   0.090    -.6658597    .0489611
   internet_cell_none_podes |  -.6509537   .2439258    -2.67   0.009    -1.134668   -.1672396
        no_bankaccess_podes |  -1.180127   .2915576    -4.05   0.000    -1.758297   -.6019577
                            |
               finalstratum |
                         2  |   2.761728   2.318573     1.19   0.236    -1.836089    7.359546
                         3  |   1.472869    .472592     3.12   0.002     .5357015    2.410037
                         4  |   2.650912   .8142693     3.26   0.002     1.036185    4.265638
                         5  |   2.812214   1.643556     1.71   0.090    -.4470188    6.071447
                         6  |   1.179134   1.090731     1.08   0.282    -.9838266    3.342095
                         7  |  -1.175193   .3600528    -3.26   0.001    -1.889191   -.4611945
                         8  |  -.9662447    .402872    -2.40   0.018    -1.765155   -.1673344
                         9  |   -.083939   .4405447    -0.19   0.849    -.9575556    .7896777
                        10  |   5.001116   .7266979     6.88   0.000     3.560047    6.442185
                        11  |   3.388837    2.05969     1.65   0.103    -.6956048    7.473278
                        12  |   .0675559   .4342803     0.16   0.877    -.7936382      .92875
                        13  |   -.179856   .7767394    -0.23   0.817    -1.720159    1.360447
                        14  |    2.59131   .6093248     4.25   0.000     1.382996    3.799624
                      1000  |   .4990042   .9912356     0.50   0.616    -1.466653    2.464662
                            |
                      _cons |   3.467134   .4141569     8.37   0.000     2.645845    4.288423
---------------------------------------------------------------------------------------------
Beginning 1000 regressions...
Completed regression 10
Completed regression 25
Completed regression 50
Completed regression 100
Completed regression 200
Completed regression 300
Completed regression 400
Completed regression 500
Completed regression 600
Completed regression 700
Completed regression 800
Completed regression 900
Completed regression 1000
RI p-val = .579
(results typege_n0 are active now)

added matrix:
            e(pvalues) :  1 x 1
Var: typege_n Sample: full
1.  (PDS/CHS) Selecting HD controls for dep var typege_n...
Selected: typege_n_podes18 himbara_bank_podes dist_himbara_bank_podes private_bank_podes dist_private_bank_podes atm_podes
          distance_atm_podes non_agri_podes miss_transport_podes road_passable_usually_podes road_passable_dry_season_podes
          weak_cell_signal_podes internet_cell_4G_podes internet_cell_25G_podes internet_cell_none_podes
          desa_head_edu18_podes no_bankaccess_podes 8.finalstratum 9.finalstratum
Also inc: 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum 7.finalstratum
          10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum 1000.finalstratum
2.  (PDS/CHS) Selecting HD controls for exog regressor treated...
Selected: no_bankaccess_podes 1000.finalstratum
Also inc: typege_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
          7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum
          14.finalstratum


Estimation results:

Specification:
Regularization method:                 lasso
Penalty loadings:                      cluster-lasso
Number of observations:                20,535
Number of clusters:                       105
Exogenous (1):                         treated
High-dim controls (58):                typege_n_podes18 himbara_bank_podes dist_himbara_bank_podes private_bank_podes
                                       dist_private_bank_podes atm_podes distance_atm_podes agent_podes
                                       distance_agent_podes rice_agri_podes non_rice_agri_podes non_agri_podes
                                       miss_agri_podes asphalt_road_transport_podes gravel_road_transport_podes
                                       land_transport_podes water_transport_podes other_transport_podes
                                       miss_transport_podes road_passable_always_podes road_passable_usually_podes
                                       road_passable_dry_season_podes road_passable_never_podes road_passable_missing_podes
                                       distance_camat_podes distance_camat_miss_podes time_to_camat_podes
                                       time_to_camat_miss_podes fees_camat_podes fees_camat_miss_podes
                                       vstrong_cell_signal_podes strong_cell_signal_podes weak_cell_signal_podes
                                       no_cell_signal_podes miss_cell_signal_podes internet_cell_4G_podes
                                       internet_cell_3G_podes internet_cell_25G_podes internet_cell_none_podes
                                       internet_cell_miss_podes desa_head_edu18_podes desa_head_edu18_missing_podes
                                       no_bankaccess_podes 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Selected controls (32):                typege_n_podes18 himbara_bank_podes dist_himbara_bank_podes private_bank_podes
                                       dist_private_bank_podes atm_podes distance_atm_podes non_agri_podes
                                       miss_transport_podes road_passable_usually_podes road_passable_dry_season_podes
                                       weak_cell_signal_podes internet_cell_4G_podes internet_cell_25G_podes
                                       internet_cell_none_podes desa_head_edu18_podes no_bankaccess_podes 1b.finalstratum
                                       2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
                                       7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum
                                       12.finalstratum 13.finalstratum 14.finalstratum 1000.finalstratum
  of which, amelioration set (16):     typege_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Unpenalized controls (1):              _cons

Structural equation:

OLS using CHS lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
    typege_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |   .5774918   .9387255     0.62   0.538    -1.262376     2.41736
------------------------------------------------------------------------------

OLS using CHS post-lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
    typege_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |   .4771545   .8194453     0.58   0.560    -1.128929    2.083238
------------------------------------------------------------------------------

OLS with PDS-selected variables and full regressor set
                                                   (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------------------------
                               |               Robust
                      typege_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------------------------+----------------------------------------------------------------
                       treated |    .478471   .8174878     0.59   0.558    -1.123776    2.080718
              typege_n_podes18 |    .620965   .1117479     5.56   0.000     .4019431    .8399869
            himbara_bank_podes |   2.949514   .8313076     3.55   0.000     1.320181    4.578847
       dist_himbara_bank_podes |   .0067418   .0106696     0.63   0.527    -.0141702    .0276538
            private_bank_podes |   10.61605   2.435647     4.36   0.000     5.842273    15.38983
       dist_private_bank_podes |  -.0040636   .0057982    -0.70   0.483    -.0154279    .0073007
                     atm_podes |    4.25886   .9811363     4.34   0.000     2.335868    6.181852
            distance_atm_podes |  -.0171178   .0088128    -1.94   0.052    -.0343906    .0001551
                non_agri_podes |   2.024246   .9696308     2.09   0.037     .1238047    3.924688
          miss_transport_podes |          0  (omitted)
   road_passable_usually_podes |  -.7917125   .2775824    -2.85   0.004    -1.335764   -.2476611
road_passable_dry_season_podes |  -.3896036   .3465351    -1.12   0.261      -1.0688    .2895928
        weak_cell_signal_podes |  -.4820026   .2589148    -1.86   0.063    -.9894662    .0254611
        internet_cell_4G_podes |  -.0329958   .3018879    -0.11   0.913    -.6246852    .5586936
       internet_cell_25G_podes |  -.4519184   .2282667    -1.98   0.048    -.8993129   -.0045239
      internet_cell_none_podes |  -.6699097    .279378    -2.40   0.016    -1.217481    -.122339
         desa_head_edu18_podes |   .2393713   .1168208     2.05   0.040     .0104067    .4683359
           no_bankaccess_podes |  -.7216631   .5093702    -1.42   0.157     -1.72001    .2766842
                               |
                  finalstratum |
                            2  |   5.009503   4.196475     1.19   0.233    -3.215437    13.23444
                            3  |   .5815016    1.05701     0.55   0.582      -1.4902    2.653204
                            4  |    1.79534   1.059229     1.69   0.090    -.2807102     3.87139
                            5  |   .9328121   2.411527     0.39   0.699    -3.793694    5.659319
                            6  |    .332496   1.751181     0.19   0.849    -3.099755    3.764747
                            7  |  -.8164104   .7614256    -1.07   0.284    -2.308777    .6759564
                            8  |  -1.549212   .5849511    -2.65   0.008    -2.695695   -.4027287
                            9  |  -.3033673   .4810791    -0.63   0.528    -1.246265    .6395303
                           10  |   4.312252    1.06757     4.04   0.000     2.219854    6.404651
                           11  |   2.959258   1.682473     1.76   0.079    -.3383273    6.256844
                           12  |     .05093   .5935674     0.09   0.932    -1.112441    1.214301
                           13  |   2.056978   2.803395     0.73   0.463    -3.437576    7.551531
                           14  |   2.713607   1.070348     2.54   0.011     .6157631    4.811451
                         1000  |   .8586912   1.299592     0.66   0.509    -1.688463    3.405846
                               |
                         _cons |   1.553017   1.071257     1.45   0.147    -.5466088    3.652643
------------------------------------------------------------------------------------------------
Standard errors and test statistics valid for the following variables only:
    treated
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
    typege_n |     14,169    8.291905    20.06941          0       1145

added scalar:
       e(control_mean) =  8.2919049

added scalar:
                e(obs) =  20535

added macro:
            e(stratum) : "Yes"

added macro:
              e(lasso) : "Yes"
Original regression:
note: miss_transport_podes omitted because of collinearity.

Linear regression                               Number of obs     =     20,535
                                                F(31, 104)        =      32.09
                                                Prob > F          =     0.0000
                                                R-squared         =     0.4651
                                                Root MSE          =     14.385

                                                   (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------------------------
                               |               Robust
                      typege_n | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------------------------+----------------------------------------------------------------
                       treated |    .478471   .8220294     0.58   0.562    -1.151644    2.108586
              typege_n_podes18 |    .620965   .1123687     5.53   0.000     .3981335    .8437964
            himbara_bank_podes |   2.949514   .8359259     3.53   0.001     1.291842    4.607186
       dist_himbara_bank_podes |   .0067418   .0107289     0.63   0.531    -.0145339    .0280175
            private_bank_podes |   10.61605   2.449178     4.33   0.000     5.759241    15.47286
       dist_private_bank_podes |  -.0040636   .0058304    -0.70   0.487    -.0156256    .0074984
                     atm_podes |    4.25886   .9865871     4.32   0.000     2.302421    6.215299
            distance_atm_podes |  -.0171178   .0088618    -1.93   0.056    -.0346911    .0004555
                non_agri_podes |   2.024246   .9750176     2.08   0.040     .0907497    3.957743
          miss_transport_podes |          0  (omitted)
   road_passable_usually_podes |  -.7917125   .2791245    -2.84   0.005    -1.345227   -.2381982
road_passable_dry_season_podes |  -.3896036   .3484603    -1.12   0.266    -1.080613    .3014063
        weak_cell_signal_podes |  -.4820026   .2603532    -1.85   0.067    -.9982927    .0342876
        internet_cell_4G_podes |  -.0329958    .303565    -0.11   0.914    -.6349767    .5689851
       internet_cell_25G_podes |  -.4519184   .2295348    -1.97   0.052    -.9070946    .0032578
      internet_cell_none_podes |  -.6699097   .2809301    -2.38   0.019    -1.227005   -.1128149
         desa_head_edu18_podes |   .2393713   .1174698     2.04   0.044     .0064243    .4723184
           no_bankaccess_podes |  -.7216631      .5122    -1.41   0.162    -1.737375    .2940488
                               |
                  finalstratum |
                            2  |   5.009503   4.219789     1.19   0.238    -3.358496     13.3775
                            3  |   .5815016   1.062882     0.55   0.585    -1.526234    2.689237
                            4  |    1.79534   1.065113     1.69   0.095    -.3168196    3.907499
                            5  |   .9328121   2.424925     0.38   0.701    -3.875904    5.741528
                            6  |    .332496   1.760909     0.19   0.851    -3.159454    3.824445
                            7  |  -.8164104   .7656557    -1.07   0.289    -2.334734    .7019136
                            8  |  -1.549212   .5882008    -2.63   0.010    -2.715636   -.3827875
                            9  |  -.3033673   .4837517    -0.63   0.532    -1.262665    .6559305
                           10  |   4.312252   1.073501     4.02   0.000      2.18346    6.441045
                           11  |   2.959258    1.69182     1.75   0.083    -.3956834      6.3142
                           12  |     .05093   .5968649     0.09   0.932    -1.132676    1.234536
                           13  |   2.056978    2.81897     0.73   0.467    -3.533145      7.6471
                           14  |   2.713607   1.076295     2.52   0.013     .5792745     4.84794
                         1000  |   .8586912   1.306812     0.66   0.513    -1.732767    3.450149
                               |
                         _cons |   1.553017   1.077209     1.44   0.152    -.5831283    3.689163
------------------------------------------------------------------------------------------------
Beginning 1000 regressions...
Completed regression 10
Completed regression 25
Completed regression 50
Completed regression 100
Completed regression 200
Completed regression 300
Completed regression 400
Completed regression 500
Completed regression 600
Completed regression 700
Completed regression 800
Completed regression 900
Completed regression 1000
RI p-val = .491
(results typege_nfull are active now)

added matrix:
            e(pvalues) :  1 x 1
Var: typef_n Sample: 0
1.  (PDS/CHS) Selecting HD controls for dep var typef_n...
Selected: himbara_bank_podes private_bank_podes atm_podes rice_agri_podes non_agri_podes miss_transport_podes
          road_passable_dry_season_podes weak_cell_signal_podes no_cell_signal_podes internet_cell_4G_podes
          internet_cell_miss_podes no_bankaccess_podes
Also inc: typef_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
          7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum
          14.finalstratum 1000.finalstratum
2.  (PDS/CHS) Selecting HD controls for exog regressor treated...
Selected: 
Also inc: typef_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
          7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum
          14.finalstratum 1000.finalstratum


Estimation results:

Specification:
Regularization method:                 lasso
Penalty loadings:                      cluster-lasso
Number of observations:                14,452
Number of clusters:                       105
Exogenous (1):                         treated
High-dim controls (58):                typef_n_podes18 himbara_bank_podes dist_himbara_bank_podes private_bank_podes
                                       dist_private_bank_podes atm_podes distance_atm_podes agent_podes
                                       distance_agent_podes rice_agri_podes non_rice_agri_podes non_agri_podes
                                       miss_agri_podes asphalt_road_transport_podes gravel_road_transport_podes
                                       land_transport_podes water_transport_podes other_transport_podes
                                       miss_transport_podes road_passable_always_podes road_passable_usually_podes
                                       road_passable_dry_season_podes road_passable_never_podes road_passable_missing_podes
                                       distance_camat_podes distance_camat_miss_podes time_to_camat_podes
                                       time_to_camat_miss_podes fees_camat_podes fees_camat_miss_podes
                                       vstrong_cell_signal_podes strong_cell_signal_podes weak_cell_signal_podes
                                       no_cell_signal_podes miss_cell_signal_podes internet_cell_4G_podes
                                       internet_cell_3G_podes internet_cell_25G_podes internet_cell_none_podes
                                       internet_cell_miss_podes desa_head_edu18_podes desa_head_edu18_missing_podes
                                       no_bankaccess_podes 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Selected controls (28):                typef_n_podes18 himbara_bank_podes private_bank_podes atm_podes rice_agri_podes
                                       non_agri_podes miss_transport_podes road_passable_dry_season_podes
                                       weak_cell_signal_podes no_cell_signal_podes internet_cell_4G_podes
                                       internet_cell_miss_podes no_bankaccess_podes 1b.finalstratum 2.finalstratum
                                       3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum 7.finalstratum
                                       8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum
                                       13.finalstratum 14.finalstratum 1000.finalstratum
  of which, amelioration set (16):     typef_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Unpenalized controls (1):              _cons

Structural equation:

OLS using CHS lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
     typef_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |   .0042516   .0702178     0.06   0.952    -.1333728     .141876
------------------------------------------------------------------------------

OLS using CHS post-lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
     typef_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |    .009554    .049267     0.19   0.846    -.0870075    .1061156
------------------------------------------------------------------------------

OLS with PDS-selected variables and full regressor set
                                                   (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------------------------
                               |               Robust
                       typef_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------------------------+----------------------------------------------------------------
                       treated |   .0096409   .0481528     0.20   0.841    -.0847367    .1040186
               typef_n_podes18 |   .3077455   .0976893     3.15   0.002      .116278    .4992129
            himbara_bank_podes |   .7135429   .1735068     4.11   0.000     .3734758     1.05361
            private_bank_podes |   1.884516   .4671076     4.03   0.000     .9690015     2.80003
                     atm_podes |   .8218463   .1387506     5.92   0.000     .5499002    1.093792
               rice_agri_podes |  -.1117022   .0418802    -2.67   0.008    -.1937858   -.0296185
                non_agri_podes |   .4358075   .1316779     3.31   0.001     .1777235    .6938914
          miss_transport_podes |          0  (omitted)
road_passable_dry_season_podes |   -.090781   .0323393    -2.81   0.005    -.1541648   -.0273971
        weak_cell_signal_podes |  -.0801209   .0376909    -2.13   0.034    -.1539937   -.0062481
          no_cell_signal_podes |  -.1547304   .0419156    -3.69   0.000    -.2368836   -.0725772
        internet_cell_4G_podes |   .0714361   .0371898     1.92   0.055    -.0014546    .1443269
      internet_cell_miss_podes |          0  (omitted)
           no_bankaccess_podes |  -.0837463   .0380955    -2.20   0.028    -.1584121   -.0090805
                               |
                  finalstratum |
                            2  |   .5610556   .3660712     1.53   0.125    -.1564308    1.278542
                            3  |   .2088031   .1134667     1.84   0.066    -.0135876    .4311939
                            4  |   .0058639    .062303     0.09   0.925    -.1162478    .1279755
                            5  |   .1139343   .1070982     1.06   0.287    -.0959742    .3238429
                            6  |  -.0830136   .1094119    -0.76   0.448     -.297457    .1314298
                            7  |  -.0746629   .0596843    -1.25   0.211    -.1916419    .0423162
                            8  |  -.0473849   .0839137    -0.56   0.572    -.2118528     .117083
                            9  |   .0228509   .0923603     0.25   0.805     -.158172    .2038738
                           10  |   .1919306   .1424052     1.35   0.178    -.0871784    .4710396
                           11  |   .1207699   .1048389     1.15   0.249    -.0847106    .3262503
                           12  |   .1727711   .1257667     1.37   0.170     -.073727    .4192693
                           13  |   .1099524   .1154626     0.95   0.341    -.1163501    .3362549
                           14  |    .249745   .1088628     2.29   0.022     .0363779    .4631121
                         1000  |    .005059   .0755816     0.07   0.947    -.1430782    .1531963
                               |
                         _cons |     .20391   .0606371     3.36   0.001     .0850634    .3227566
------------------------------------------------------------------------------------------------
Standard errors and test statistics valid for the following variables only:
    treated
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
     typef_n |     10,441    .3365578    1.957238          0         69

added scalar:
       e(control_mean) =  .3365578

added scalar:
                e(obs) =  14452

added macro:
            e(stratum) : "Yes"

added macro:
              e(lasso) : "Yes"
Original regression:
note: miss_transport_podes omitted because of collinearity.
note: internet_cell_miss_podes omitted because of collinearity.

Linear regression                               Number of obs     =     14,452
                                                F(26, 104)        =      12.21
                                                Prob > F          =     0.0000
                                                R-squared         =     0.1520
                                                Root MSE          =     1.8799

                                                   (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------------------------
                               |               Robust
                       typef_n | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------------------------+----------------------------------------------------------------
                       treated |   .0096409   .0484273     0.20   0.843    -.0863922    .1056741
               typef_n_podes18 |   .3077455   .0982462     3.13   0.002     .1129195    .5025714
            himbara_bank_podes |   .7135429    .174496     4.09   0.000     .3675108    1.059575
            private_bank_podes |   1.884516   .4697707     4.01   0.000     .9529426    2.816089
                     atm_podes |   .8218463   .1395416     5.89   0.000     .5451301    1.098563
               rice_agri_podes |  -.1117022    .042119    -2.65   0.009    -.1952257   -.0281787
                non_agri_podes |   .4358075   .1324286     3.29   0.001     .1731965    .6984184
          miss_transport_podes |          0  (omitted)
road_passable_dry_season_podes |   -.090781   .0325237    -2.79   0.006    -.1552766   -.0262853
        weak_cell_signal_podes |  -.0801209   .0379058    -2.11   0.037    -.1552895   -.0049523
          no_cell_signal_podes |  -.1547304   .0421546    -3.67   0.000    -.2383246   -.0711362
        internet_cell_4G_podes |   .0714361   .0374019     1.91   0.059    -.0027332    .1456055
      internet_cell_miss_podes |          0  (omitted)
           no_bankaccess_podes |  -.0837463   .0383127    -2.19   0.031    -.1597218   -.0077708
                               |
                  finalstratum |
                            2  |   .5610556   .3681583     1.52   0.131    -.1690161    1.291127
                            3  |   .2088031   .1141137     1.83   0.070    -.0174885    .4350948
                            4  |   .0058639   .0626582     0.09   0.926    -.1183897    .1301175
                            5  |   .1139343   .1077088     1.06   0.293    -.0996562    .3275249
                            6  |  -.0830136   .1100357    -0.75   0.452    -.3012185    .1351913
                            7  |  -.0746629   .0600246    -1.24   0.216    -.1936938    .0443681
                            8  |  -.0473849   .0843922    -0.56   0.576    -.2147377    .1199679
                            9  |   .0228509   .0928869     0.25   0.806    -.1613473    .2070491
                           10  |   .1919306   .1432171     1.34   0.183    -.0920743    .4759354
                           11  |   .1207699   .1054366     1.15   0.255    -.0883149    .3298546
                           12  |   .1727711   .1264837     1.37   0.175    -.0780508    .4235931
                           13  |   .1099524   .1161208     0.95   0.346    -.1203196    .3402244
                           14  |    .249745   .1094834     2.28   0.025     .0326352    .4668547
                         1000  |    .005059   .0760125     0.07   0.947    -.1456767    .1557947
                               |
                         _cons |     .20391   .0609828     3.34   0.001     .0829787    .3248413
------------------------------------------------------------------------------------------------
Beginning 1000 regressions...
Completed regression 10
Completed regression 25
Completed regression 50
Completed regression 100
Completed regression 200
Completed regression 300
Completed regression 400
Completed regression 500
Completed regression 600
Completed regression 700
Completed regression 800
Completed regression 900
Completed regression 1000
RI p-val = .88
(results typef_n0 are active now)

added matrix:
            e(pvalues) :  1 x 1
Var: typef_n Sample: full
1.  (PDS/CHS) Selecting HD controls for dep var typef_n...
Selected: atm_podes agent_podes rice_agri_podes road_passable_dry_season_podes weak_cell_signal_podes no_cell_signal_podes
          internet_cell_25G_podes internet_cell_miss_podes
Also inc: typef_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
          7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum
          14.finalstratum 1000.finalstratum
2.  (PDS/CHS) Selecting HD controls for exog regressor treated...
Selected: no_bankaccess_podes 1000.finalstratum
Also inc: typef_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
          7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum
          14.finalstratum


Estimation results:

Specification:
Regularization method:                 lasso
Penalty loadings:                      cluster-lasso
Number of observations:                20,535
Number of clusters:                       105
Exogenous (1):                         treated
High-dim controls (58):                typef_n_podes18 himbara_bank_podes dist_himbara_bank_podes private_bank_podes
                                       dist_private_bank_podes atm_podes distance_atm_podes agent_podes
                                       distance_agent_podes rice_agri_podes non_rice_agri_podes non_agri_podes
                                       miss_agri_podes asphalt_road_transport_podes gravel_road_transport_podes
                                       land_transport_podes water_transport_podes other_transport_podes
                                       miss_transport_podes road_passable_always_podes road_passable_usually_podes
                                       road_passable_dry_season_podes road_passable_never_podes road_passable_missing_podes
                                       distance_camat_podes distance_camat_miss_podes time_to_camat_podes
                                       time_to_camat_miss_podes fees_camat_podes fees_camat_miss_podes
                                       vstrong_cell_signal_podes strong_cell_signal_podes weak_cell_signal_podes
                                       no_cell_signal_podes miss_cell_signal_podes internet_cell_4G_podes
                                       internet_cell_3G_podes internet_cell_25G_podes internet_cell_none_podes
                                       internet_cell_miss_podes desa_head_edu18_podes desa_head_edu18_missing_podes
                                       no_bankaccess_podes 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Selected controls (25):                typef_n_podes18 atm_podes agent_podes rice_agri_podes
                                       road_passable_dry_season_podes weak_cell_signal_podes no_cell_signal_podes
                                       internet_cell_25G_podes internet_cell_miss_podes no_bankaccess_podes 1b.finalstratum
                                       2.finalstratum 3.finalstratum 4.finalstratum 5.finalstratum 6.finalstratum
                                       7.finalstratum 8.finalstratum 9.finalstratum 10.finalstratum 11.finalstratum
                                       12.finalstratum 13.finalstratum 14.finalstratum 1000.finalstratum
  of which, amelioration set (16):     typef_n_podes18 1b.finalstratum 2.finalstratum 3.finalstratum 4.finalstratum
                                       5.finalstratum 6.finalstratum 7.finalstratum 8.finalstratum 9.finalstratum
                                       10.finalstratum 11.finalstratum 12.finalstratum 13.finalstratum 14.finalstratum
                                       1000.finalstratum
Unpenalized controls (1):              _cons

Structural equation:

OLS using CHS lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
     typef_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |   .0452032   .1461853     0.31   0.757    -.2413147     .331721
------------------------------------------------------------------------------

OLS using CHS post-lasso-orthogonalized vars
                                 (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------
             |               Robust
     typef_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
     treated |  -.0240731   .0891178    -0.27   0.787    -.1987407    .1505944
------------------------------------------------------------------------------

OLS with PDS-selected variables and full regressor set
                                                   (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------------------------
                               |               Robust
                       typef_n | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------------------------+----------------------------------------------------------------
                       treated |   -.011108   .0856076    -0.13   0.897    -.1788958    .1566799
               typef_n_podes18 |   .8404599   .2893633     2.90   0.004     .2733183    1.407601
                     atm_podes |   1.114706   .2514456     4.43   0.000     .6218818    1.607531
                   agent_podes |   -.758797    .236951    -3.20   0.001    -1.223212   -.2943816
               rice_agri_podes |  -.2214538   .0509599    -4.35   0.000    -.3213333   -.1215743
road_passable_dry_season_podes |  -.1605222   .0648736    -2.47   0.013    -.2876722   -.0333723
        weak_cell_signal_podes |  -.0712435   .0564669    -1.26   0.207    -.1819166    .0394297
          no_cell_signal_podes |  -.1698657    .071816    -2.37   0.018    -.3106224    -.029109
       internet_cell_25G_podes |  -.0416568   .0375823    -1.11   0.268    -.1153167    .0320031
      internet_cell_miss_podes |          0  (omitted)
           no_bankaccess_podes |  -.8693833   .2556878    -3.40   0.001    -1.370522   -.3682444
                               |
                  finalstratum |
                            2  |   1.833728   1.473138     1.24   0.213    -1.053569    4.721024
                            3  |   .1658059   .1444993     1.15   0.251    -.1174076    .4490193
                            4  |  -.0915012   .0777856    -1.18   0.239    -.2439582    .0609557
                            5  |   .0303279   .1436405     0.21   0.833    -.2512023    .3118581
                            6  |  -.1982563    .106753    -1.86   0.063    -.4074884    .0109757
                            7  |     -.0849   .1512308    -0.56   0.575    -.3813069    .2115068
                            8  |  -.1350807   .1057381    -1.28   0.201    -.3423235    .0721621
                            9  |  -.0163685   .1273247    -0.13   0.898    -.2659203    .2331833
                           10  |   .0600617   .1782982     0.34   0.736    -.2893965    .4095198
                           11  |   .1468894   .2936427     0.50   0.617    -.4286398    .7224185
                           12  |   -.004609   .1453873    -0.03   0.975    -.2895629    .2803448
                           13  |   .0077999   .1524814     0.05   0.959    -.2910582     .306658
                           14  |   .1753978   .1023971     1.71   0.087    -.0252969    .3760925
                         1000  |  -.0327828   .1239313    -0.26   0.791    -.2756836     .210118
                               |
                         _cons |   1.079058   .2666497     4.05   0.000     .5564345    1.601682
------------------------------------------------------------------------------------------------
Standard errors and test statistics valid for the following variables only:
    treated
------------------------------------------------------------------------------

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
     typef_n |     14,169    .5725175    4.183433          0        258

added scalar:
       e(control_mean) =  .57251747

added scalar:
                e(obs) =  20535

added macro:
            e(stratum) : "Yes"

added macro:
              e(lasso) : "Yes"
Original regression:
note: internet_cell_miss_podes omitted because of collinearity.

Linear regression                               Number of obs     =     20,535
                                                F(24, 104)        =      24.21
                                                Prob > F          =     0.0000
                                                R-squared         =     0.3686
                                                Root MSE          =     3.1651

                                                   (Std. err. adjusted for 105 clusters in KABU)
------------------------------------------------------------------------------------------------
                               |               Robust
                       typef_n | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-------------------------------+----------------------------------------------------------------
                       treated |   -.011108   .0860685    -0.13   0.898    -.1817851    .1595691
               typef_n_podes18 |   .8404599   .2909212     2.89   0.005     .2635523    1.417367
                     atm_podes |   1.114706   .2527994     4.41   0.000     .6133955    1.616017
                   agent_podes |   -.758797   .2382267    -3.19   0.002     -1.23121   -.2863845
               rice_agri_podes |  -.2214538   .0512342    -4.32   0.000    -.3230532   -.1198544
road_passable_dry_season_podes |  -.1605222   .0652229    -2.46   0.015    -.2898616   -.0311828
        weak_cell_signal_podes |  -.0712435   .0567709    -1.25   0.212    -.1838224    .0413354
          no_cell_signal_podes |  -.1698657   .0722026    -2.35   0.021    -.3130462   -.0266852
       internet_cell_25G_podes |  -.0416568   .0377846    -1.10   0.273    -.1165851    .0332715
      internet_cell_miss_podes |          0  (omitted)
           no_bankaccess_podes |  -.8693833   .2570644    -3.38   0.001    -1.379152   -.3596149
                               |
                  finalstratum |
                            2  |   1.833728   1.481069     1.24   0.218    -1.103287    4.770743
                            3  |   .1658059   .1452773     1.14   0.256    -.1222844    .4538962
                            4  |  -.0915012   .0782044    -1.17   0.245    -.2465835     .063581
                            5  |   .0303279   .1444138     0.21   0.834    -.2560501    .3167059
                            6  |  -.1982563   .1073278    -1.85   0.068    -.4110913    .0145787
                            7  |     -.0849    .152045    -0.56   0.578    -.3864109    .2166108
                            8  |  -.1350807   .1063073    -1.27   0.207    -.3458922    .0757307
                            9  |  -.0163685   .1280102    -0.13   0.898    -.2702175    .2374805
                           10  |   .0600617   .1792582     0.34   0.738     -.295414    .4155374
                           11  |   .1468894   .2952237     0.50   0.620    -.4385502     .732329
                           12  |   -.004609     .14617    -0.03   0.975    -.2944697    .2852516
                           13  |   .0077999   .1533024     0.05   0.960    -.2962045    .3118043
                           14  |   .1753978   .1029484     1.70   0.091    -.0287528    .3795484
                         1000  |  -.0327828   .1245985    -0.26   0.793    -.2798663    .2143007
                               |
                         _cons |   1.079058   .2680854     4.03   0.000     .5474351    1.610682
------------------------------------------------------------------------------------------------
Beginning 1000 regressions...
Completed regression 10
Completed regression 25
Completed regression 50
Completed regression 100
Completed regression 200
Completed regression 300
Completed regression 400
Completed regression 500
Completed regression 600
Completed regression 700
Completed regression 800
Completed regression 900
Completed regression 1000
RI p-val = .9360000000000001
(results typef_nfull are active now)

added matrix:
            e(pvalues) :  1 x 1

. 
. 
. local prefix: display %tdCYND td(`c(current_date)')

. cap erase "$output/ster_files/20210226_finance/`prefix'_allbusinessespodes" // clear .ster if it already exists

. qui estimates dir

. foreach e in `r(names)' {
  2.     quietly estimates restore `e'
  3.     estimates title: `e'
  4.     quietly estimates save "$output/ster_files/20210226_finance/`prefix'_allbusinessespodes", append
  5. }

. 
. log close
      name:  <unnamed>
       log:  /Users/clotairemit.edu/Dropbox (MIT)/J-PAL Raskin Transition/10_Analysis&Results/Agent Experiment Analysis/03_
> Logs/20240426_vill_podes.log
  log type:  text
 closed on:  26 Apr 2024, 05:01:09
---------------------------------------------------------------------------------------------------------------------------
